Skip to content

fix: cbor decode should not treat maps as objects#36

Merged
birme merged 1 commit intomainfrom
35-kid-as-int
Apr 4, 2025
Merged

fix: cbor decode should not treat maps as objects#36
birme merged 1 commit intomainfrom
35-kid-as-int

Conversation

@birme
Copy link
Copy Markdown
Contributor

@birme birme commented Apr 4, 2025

This PR intends to resolve #35

The reason why kid (4) was stored as a string was that in the mac process used CBOR decode that converted maps to objects, and objects in Javascript can not have number as a key.

@birme birme merged commit cd4ac72 into main Apr 4, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

kid unprotected header label as string "4" instead of int 4. Can't find kid in unprotected header.

1 participant